.class Lcom/xingbook/ui/b/d;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/animation/Animation$AnimationListener;


# instance fields
.field final synthetic a:Lcom/xingbook/ui/b/c;

.field private final synthetic b:Lcom/xingbook/ui/b/a;

.field private final synthetic c:Lcom/xingbook/ui/a/c;

.field private final synthetic d:I

.field private final synthetic e:Lcn/a/a/d/i;

.field private final synthetic f:Lcom/xingbook/anima/d;


# direct methods
.method constructor <init>(Lcom/xingbook/ui/b/c;Lcom/xingbook/ui/b/a;Lcom/xingbook/ui/a/c;ILcn/a/a/d/i;Lcom/xingbook/anima/d;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/b/d;->a:Lcom/xingbook/ui/b/c;

    iput-object p2, p0, Lcom/xingbook/ui/b/d;->b:Lcom/xingbook/ui/b/a;

    iput-object p3, p0, Lcom/xingbook/ui/b/d;->c:Lcom/xingbook/ui/a/c;

    iput p4, p0, Lcom/xingbook/ui/b/d;->d:I

    iput-object p5, p0, Lcom/xingbook/ui/b/d;->e:Lcn/a/a/d/i;

    iput-object p6, p0, Lcom/xingbook/ui/b/d;->f:Lcom/xingbook/anima/d;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAnimationEnd(Landroid/view/animation/Animation;)V
    .locals 5

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->e:Lcn/a/a/d/i;

    invoke-virtual {v0}, Lcn/a/a/d/i;->i()I

    move-result v0

    and-int/lit8 v0, v0, 0x1

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->c:Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->i()Z

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/b/d;->e:Lcn/a/a/d/i;

    invoke-virtual {v0}, Lcn/a/a/d/i;->i()I

    move-result v0

    and-int/lit8 v0, v0, 0x2

    const/4 v1, 0x2

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->c:Lcom/xingbook/ui/a/c;

    invoke-virtual {v0, v4}, Lcom/xingbook/ui/a/c;->setVisibility(I)V

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/b/d;->f:Lcom/xingbook/anima/d;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->b:Lcom/xingbook/ui/b/a;

    iget-boolean v0, v0, Lcom/xingbook/ui/b/a;->l:Z

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->c:Lcom/xingbook/ui/a/c;

    invoke-virtual {v0}, Lcom/xingbook/ui/a/c;->clearAnimation()V

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->b:Lcom/xingbook/ui/b/a;

    invoke-static {v0}, Lcom/xingbook/ui/b/a;->a(Lcom/xingbook/ui/b/a;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/b/d;->c:Lcom/xingbook/ui/a/c;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->c:Lcom/xingbook/ui/a/c;

    iget-object v1, p0, Lcom/xingbook/ui/b/d;->f:Lcom/xingbook/anima/d;

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/a/c;->setLayout(Lcom/xingbook/anima/d;)V

    :cond_2
    const/4 v0, 0x0

    invoke-virtual {p1, v0}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/b/d;->d:I

    const/16 v2, 0x9

    iget-object v3, p0, Lcom/xingbook/ui/b/d;->e:Lcn/a/a/d/i;

    invoke-virtual {v3}, Lcn/a/a/d/i;->a()I

    move-result v3

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/xingbook/ui/b/a;->a(IIII)Z

    return-void
.end method

.method public onAnimationRepeat(Landroid/view/animation/Animation;)V
    .locals 0

    return-void
.end method

.method public onAnimationStart(Landroid/view/animation/Animation;)V
    .locals 5

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->b:Lcom/xingbook/ui/b/a;

    invoke-static {v0}, Lcom/xingbook/ui/b/a;->a(Lcom/xingbook/ui/b/a;)Ljava/util/ArrayList;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->b:Lcom/xingbook/ui/b/a;

    invoke-static {v0}, Lcom/xingbook/ui/b/a;->a(Lcom/xingbook/ui/b/a;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/b/d;->c:Lcom/xingbook/ui/a/c;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/xingbook/ui/b/d;->b:Lcom/xingbook/ui/b/a;

    invoke-static {v0}, Lcom/xingbook/ui/b/a;->a(Lcom/xingbook/ui/b/a;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ui/b/d;->c:Lcom/xingbook/ui/a/c;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ui/b/d;->b:Lcom/xingbook/ui/b/a;

    iget v1, p0, Lcom/xingbook/ui/b/d;->d:I

    const/16 v2, 0x8

    iget-object v3, p0, Lcom/xingbook/ui/b/d;->e:Lcn/a/a/d/i;

    invoke-virtual {v3}, Lcn/a/a/d/i;->a()I

    move-result v3

    const/4 v4, 0x0

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/xingbook/ui/b/a;->a(IIII)Z

    return-void
.end method
